package com.ruoyi.project.commodity.brands.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 商品品牌对象 goods_brands
 * 
 * @author 艾有宏
 * @date 2021-01-19
 */
public class GoodsBrands extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品品牌id */
    private Long brandId;

    /** 商品品牌启用状态，1表示启用，0表示禁用 */
    @Excel(name = "商品品牌启用状态，1表示启用，0表示禁用")
    private Integer enableStatus;

    /** 商品品牌名称 */
    @Excel(name = "商品品牌名称")
    private String brandName;

    /** 商品品牌缩略图地址 */
    @Excel(name = "商品品牌缩略图地址")
    private String thumbnailUrl;

    /** 商品品牌主图 */
    @Excel(name = "商品品牌主图")
    private String mainImg;

    /** 商品品牌排序数字 */
    @Excel(name = "商品品牌排序数字")
    private Long sortNum;

    /** 品牌描述 */
    @Excel(name = "品牌描述")
    private String brandDesc;

    public void setBrandId(Long brandId)
    {
        this.brandId = brandId;
    }

    public Long getBrandId()
    {
        return brandId;
    }
    public void setEnableStatus(Integer enableStatus)
    {
        this.enableStatus = enableStatus;
    }

    public Integer getEnableStatus()
    {
        return enableStatus;
    }
    public void setBrandName(String brandName)
    {
        this.brandName = brandName;
    }

    public String getBrandName()
    {
        return brandName;
    }
    public void setThumbnailUrl(String thumbnailUrl)
    {
        this.thumbnailUrl = thumbnailUrl;
    }

    public String getThumbnailUrl()
    {
        return thumbnailUrl;
    }
    public void setMainImg(String mainImg)
    {
        this.mainImg = mainImg;
    }

    public String getMainImg()
    {
        return mainImg;
    }
    public void setSortNum(Long sortNum)
    {
        this.sortNum = sortNum;
    }

    public Long getSortNum()
    {
        return sortNum;
    }
    public void setBrandDesc(String brandDesc)
    {
        this.brandDesc = brandDesc;
    }

    public String getBrandDesc()
    {
        return brandDesc;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("brandId", getBrandId())
            .append("enableStatus", getEnableStatus())
            .append("brandName", getBrandName())
            .append("thumbnailUrl", getThumbnailUrl())
            .append("mainImg", getMainImg())
            .append("sortNum", getSortNum())
            .append("brandDesc", getBrandDesc())
            .toString();
    }
}
